package com.ddn.mapper.roomManagement;

import com.ddn.model.roomManagement.VipPieVO;
import com.ddn.model.roomManagement.VipUser;
import com.ddn.model.roomManagement.VipBarVO;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * @author QiuShiju
 * @date 2023/1/1
 * @desc
 */
public interface VipMapper {
    List<VipUser> findAll(HashMap<String, Object> map);

    boolean addVip(HashMap<String, Object> map);

    boolean deleteVip(HashMap<String, Object> map);

    boolean updateVip(HashMap<String, Object> map);

    boolean deleteBatch(@Param("ids") int[] ids);

    List<VipBarVO> vipBar();

    List<VipPieVO> vipPie();
}
